package com.lagou.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UsersDao {

    /*
      插入users方法
   */
    @Insert("insert into users(username,password,address) values(#{username},#{password},#{address})")
    public int insertUsers(@Param("username") String username, @Param("password") String password, @Param("address") String address);

}
